package com.jackiechan.day17;

import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;

public class My {
    public static void main(String[] args) {
        String string = "I'm Iron man!";
        show(string);
    }

    private static void show(String string) {
        string = string.replaceAll("\\s","%20");
//        string = string.replace(" ","%20");
        System.out.println(string);
        ArrayList list = new ArrayList();
        list.add(123);
        System.out.println(list.contains(null));
        System.out.println(list.size());
        List list1 = new LinkedList();
        list1.add(123);
        list1.add(123);
        System.out.println(list1);
    }

}
